package com.cbs.android.component.network.sample;

import java.util.List;

/**
 * Created by broche on 10/16/16.
 */

public class Note {

    /**
     * id : 182
     * userid : 1
     * timestamp : 1483200000
     * patientid : 10
     * content : 122
     * isnotification : 1
     * diagnosepics : []
     * examinationpics : []
     * medicinepics : []
     * otherpics : []
     * medicines : []
     * patient : {"id":10,"userid":1,"patientname":"华东交大看去","patientnamespell":"HDJDKQ","birthyear":-4448,"sex":0,"identification":"","phone":"","address":"","timestamp":1472555485,"avatar":"","age":6464}
     */

    private int id;
    private int userid;
    private int timestamp;
    private int patientid;
    private String content;
    private int isnotification;
    /**
     * id : 10
     * userid : 1
     * patientname : 华东交大看去
     * patientnamespell : HDJDKQ
     * birthyear : -4448
     * sex : 0
     * identification :
     * phone :
     * address :
     * timestamp : 1472555485
     * avatar :
     * age : 6464
     */

    private PatientEntity patient;
    private List<?> diagnosepics;
    private List<?> examinationpics;
    private List<?> medicinepics;
    private List<?> otherpics;
    private List<?> medicines;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public int getPatientid() {
        return patientid;
    }

    public void setPatientid(int patientid) {
        this.patientid = patientid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getIsnotification() {
        return isnotification;
    }

    public void setIsnotification(int isnotification) {
        this.isnotification = isnotification;
    }

    public PatientEntity getPatient() {
        return patient;
    }

    public void setPatient(PatientEntity patient) {
        this.patient = patient;
    }

    public List<?> getDiagnosepics() {
        return diagnosepics;
    }

    public void setDiagnosepics(List<?> diagnosepics) {
        this.diagnosepics = diagnosepics;
    }

    public List<?> getExaminationpics() {
        return examinationpics;
    }

    public void setExaminationpics(List<?> examinationpics) {
        this.examinationpics = examinationpics;
    }

    public List<?> getMedicinepics() {
        return medicinepics;
    }

    public void setMedicinepics(List<?> medicinepics) {
        this.medicinepics = medicinepics;
    }

    public List<?> getOtherpics() {
        return otherpics;
    }

    public void setOtherpics(List<?> otherpics) {
        this.otherpics = otherpics;
    }

    public List<?> getMedicines() {
        return medicines;
    }

    public void setMedicines(List<?> medicines) {
        this.medicines = medicines;
    }

    public static class PatientEntity {
        private int id;
        private int userid;
        private String patientname;
        private String patientnamespell;
        private int birthyear;
        private int sex;
        private String identification;
        private String phone;
        private String address;
        private int timestamp;
        private String avatar;
        private int age;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public String getPatientname() {
            return patientname;
        }

        public void setPatientname(String patientname) {
            this.patientname = patientname;
        }

        public String getPatientnamespell() {
            return patientnamespell;
        }

        public void setPatientnamespell(String patientnamespell) {
            this.patientnamespell = patientnamespell;
        }

        public int getBirthyear() {
            return birthyear;
        }

        public void setBirthyear(int birthyear) {
            this.birthyear = birthyear;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getIdentification() {
            return identification;
        }

        public void setIdentification(String identification) {
            this.identification = identification;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }
    }
}
